package org.qydjk.console.service;

import org.qydjk.common.pojo.Employee;
import org.qydjk.common.pojo.company.InviteRecord;
import org.qydjk.common.service.IBaseService;
import java.util.List;
import java.util.Map;

/**
 * 企业管理
 */
public interface ICompanyService extends IBaseService {

    void delCompany(Integer id) throws Exception;

    void delDept(Integer id) throws Exception;

    /**
     * 添加员工，同时插入用户表
     */
    String  addEmpany(Employee employee) throws Exception;

    /**
     * 批量添加员工，同时插入用户表
     */
    String addEmpanyByExcel(Employee employee,List<Map<String,Object>> list) throws Exception;


    /**
     * 发布招标
     * @param inviteRecord
     */
    void putPublish(InviteRecord inviteRecord) throws Exception;

    /**
     * 撤销发布
     * @param productId
     * @throws Exception
     */
    void  updateInvite(Integer productId) throws Exception;
    /**
     * 确认报价
     * @param offerId
     * @throws Exception
     */
    void  updateOffer(Integer offerId) throws Exception;
}
